package com.yc.mybatis.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author k
 * @since 2024-10-27
 */
@Getter
@Setter
@TableName("bill_item")
public class BillItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单编号
     */
    @TableField("bid")
    private Integer bid;

    /**
     * 商品编号
     */
    @TableField("gid")
    private Integer gid;

    /**
     * 出入库数量
     */
    @TableField("num")
    private Integer num;

    /**
     * 出入库价格
     */
    @TableField("price")
    private Double price;
}
